import { createStore } from 'vuex';
import aside from './MyAside/index';
import createPersistedState from "vuex-persistedstate";
import hander from './MyHander/index';
import publiccomp from './PublicComp/index';
import banniner from './Banniner/index';
import contaniner from './MyContainer/index';



export default createStore({
    //配置缓存插件 
    // plugins: [createPersistedState({
    //     paths: ['aside', 'hander']
    // })],
    modules: {
        aside,
        hander,
        publiccomp,
        banniner,
        contaniner,

    },

})